import { axios } from "../../utils/request";

const api = {
    UserFieldDetail: "/crm/userField/detail",
    UserFieldSave: "/crm/userField/save",
   
};
/**
 * 
 * @param {*} parameter 
 */
export function UserFieldDetail(parameter) {
    return axios({
      url: api.UserFieldDetail,
      method: "get",
      params: parameter
    });
  }

/**
 * 新增/修改 用户自定义字段
 * @param {*} data
 */
export function UserFieldSave(data) {
  return axios({
    url: api.UserFieldSave,
    method: "post",
    data: data
  });
}


